package com.exercise.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.exercise.dao.QuestionDao;
import com.exercise.model.Question;
import com.exercise.service.QuestionService;

@Service
public class QuestionServiceImpl implements QuestionService {

	@Resource
	private QuestionDao questionDao;
	
	
	public int saveQuestion(Question question) {
		
		System.out.println("in the serviceimpl +++++++++++++++++++");
		return questionDao.saveQuestion(question);
		
	}

	@Override
	public int deleteQuestion(Question question) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Question selectQuestion(Question question) {
		// TODO Auto-generated method stub
		return null;
	}

}
